﻿using System.Data.Entity;
using Scrubblet.FrontEnd.Models.Entities;

namespace Scrubblet.FrontEnd.Models
{
    public class EntitiesContext : DbContext
    {
        public EntitiesContext()
            : base("DefaultConnection")
        {
            Database.SetInitializer(new EntitiesContextInitializer());
        }

        public DbSet<UserProfile> UserProfiles { get; set; }
        public DbSet<BoardConfiguration> BoardConfigurations { get; set; }
        public DbSet<Entities.Game> Games { get; set; }
        public DbSet<TileSet> TileSets { get; set; }
    }
}